﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using WC.BL.BE;
using WC.DL.DALC.Factory;

namespace WC.BL.BCC
{
    public class ParametroBC
    {

        #region Singleton
        private ParametroBC() { }
        private static ParametroBC _instance = null;
        public static ParametroBC Instance
        {
            get { return (_instance == null) ? _instance = new ParametroBC() : _instance; }
        }
        #endregion


        public int getDecimales
        {
            get { return DAOFactory.ParametroDALC.getDecimales(); }
        }
        public bool esTipoX(string pCodigo, string pConfigKey)
        {
            return DAOFactory.ParametroDALC.esTipoXY(pCodigo, pConfigKey);
        }
        public string getParamValue(string key)
        {
            return DAOFactory.ParametroDALC.getParamValue(key);
        }
    }
}
